package goods_manage.req;

public class GoodsRequest {
    private int pageNow;//当前页数
    private int pageSize;//每页最大能显示几行
    private int start;//分页查询的起始位置

    public int getStart() {
        return  (pageNow-1)*pageSize;
    }

    public void setStart(int start) {
        this.start = start;
    }

    private String searchKey;//搜索


    public String getSearchKey() {
        return searchKey;
    }

    public void setSearchKey(String searchKey) {
        this.searchKey = searchKey;
    }

    public int getPageNow() {
        return pageNow;
    }

    public void setPageNow(int pageNow) {
        this.pageNow = pageNow;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
}
